package com.googlecode.protoserv;

public abstract class GenericStub {

  protected com.googlecode.protoserv.RpcChannel channel;
  protected com.google.protobuf.ExtensionRegistry registry;

  protected GenericStub(com.googlecode.protoserv.RpcChannel channel) {
    this.channel = channel;
    this.registry = com.google.protobuf.ExtensionRegistry.newInstance();
  }

  public com.googlecode.protoserv.RpcChannel getChannel() {
    return this.channel;
  }
}
